package java67_17.jiekou.pc;

public class PCTest {

	public static void main(String[] args) {
		MainBoard b = new MainBoard("华硕GLs845");
		b.assembleCPU(new AMD("Ryzen9", 3.6F));
		b.installMem(new Kingston("海盗侠", 32));
		b.installUSB(new USBFan("扬子"));

		b.work();
		System.out.println(">>>>>>>>>换一块cpu");
		b.assembleCPU(new Intel("酷睿I9第四十代", 32F));
		b.work();
	}

}
